import defaultOpt from './default'
export default {
  title: "滑动选择",
  icon: "slider",
  row: 1,
  widget: {
    type: "slider",
    attr: [
      { label: "步长", name: "step", type: "number", default: 1 },
      { label: "最大值", name: "max", type: "number", default: 100 },
      { label: "最小值", name: "min", type: "number", default: 1 },
      {
        label: "数字区间",
        name: "pair",
        type: "switch",
        default: false,
      },
      ...defaultOpt,
    ],
  },
}